package org.pro.Model;

import java.awt.*;


public class Gross extends Element{
    public long serialVersionUID = 4L;
    transient DrawInterface drawInterface;
    public Gross(int x,int y)
    {
        this.x=(double)x;
        this.y=(double)y;
        this.width=48;
        this.height=32;
    }
    public interface DrawInterface {
        void draw(Gross var1, Graphics2D var2);
    }
    public void draw(Graphics2D g, Object panel) {
        this.drawInterface = (DrawInterface)panel;
        this.drawInterface.draw(this, g);
    }
}
